package com.angel.dao.health;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.angel.core.base.BaseMapper;
import com.angel.health.BuzDoctor;
import com.angel.health.BuzDoctorExample;
import com.angel.health.ln.ChartMap;

public interface BuzDoctorMapper extends BaseMapper<BuzDoctor>{
    int countByExample(BuzDoctorExample example);

    int deleteByExample(BuzDoctorExample example);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(BuzDoctor record);

    List<BuzDoctor> selectByExample(BuzDoctorExample example);

    BuzDoctor selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BuzDoctor record, @Param("example") BuzDoctorExample example);

    int updateByExample(@Param("record") BuzDoctor record, @Param("example") BuzDoctorExample example);

    int updateByPrimaryKey(BuzDoctor record);
    
    List<BuzDoctor> findByName(BuzDoctor record);
    
    List<Map<String,Object>> findDoctorAll(BuzDoctor record);
    
    List<ChartMap> loadChart();
    
}